package com.durian.base.permission.task;

import com.durian.base.permission.xx.Permission;

import java.util.ArrayList;
import java.util.List;

/**
 * 说明：PermissionStorage
 * <p/>
 * 作者：fanly
 * <p/>
 * 类型：Class
 * <p/>
 * 时间：2019-06-19 13:43
 * <p/>
 * 版本：version 1.0
 */
public class PermissionStorage extends AbsPermissionTask{
    @Override
    public List<String> permissionGroup() {
        List<String> list = new ArrayList<>();
        list.add(Permission.READ_EXTERNAL_STORAGE);
        list.add(Permission.WRITE_EXTERNAL_STORAGE);
        return list;
    }
    @Override
    public String deniedMessage() {
        return IPermissionDialogDeploy.MSG_STORAGE;
    }
}
